thistuple = ("apple",)
print(type(thistuple))
#不是元组
thistuple1 = ("apple")
print(type(thistuple1))


#返回值 5 在元组中出现的次数：
thistuple = (1, 3, 7, 8, 7, 5, 4, 6, 8, 5)
x = thistuple.count(5)
print(x)
#检索首次出现的值 8，并返回其位置：
x = thistuple.index(8)
print(x)